﻿@model IRIS.Models.Newsletter

@{
    ViewBag.Title = "IRIS Ættleiðingartengd fræðsla: Fjarlægja af póstlista";
}

<h2>Taka tölvupóstfang af póstlista</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@if (!ViewData.ModelState.IsValid)
{ 
    <div class="error">
        @Html.ValidationSummary(false)
    </div>
}
 <p>Skráðu inn tölvupóstfangið sem þú vilt taka af póstlista</p>
@using (Html.BeginForm()) {
   
    
    <fieldset>

        <div class="editor-label">
            Email
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Email)
        </div>

        <p>
            <input type="submit" value="Senda" />
        </p>
    </fieldset>
}


